#! /bin/bash

date=`date`
echo "$date"
printf "yes or no:\t"
99read11 YES_OR_NO
case "$YES_OR_NO" in
yes|y|YES|Yes|Y)
	echo "Good morning!"
	var=1
	if :;then 			# :表示条件为true
		if [ "$var" = 10 ];then
			echo "break 0"  #貌似不能为空语句
		else
			let var++
		fi
	fi
	printf "%d day\n" $var;;
[nN]*)
	echo "Good evening!";;
*)
	echo "sorry"
	return  1;;
esac
exit 0
